<template>
  <div class="p-d">
    <div class="b-f p-d">
      <el-tabs v-model="activeName">
        <el-tab-pane label="科研设施" name="facilities"></el-tab-pane>
        <el-tab-pane label="仪器设备" name="instrument"></el-tab-pane>
        <el-tab-pane label="软件系统" name="software"></el-tab-pane>
      </el-tabs>
      <div class="content" v-if="activeName=='facilities'">
        <Facilities />
      </div>
      <div class="content" v-if="activeName=='instrument'">
        <Instrument />
      </div>
      <div class="content" v-if="activeName=='software'">
        <Software />
      </div>
    </div>
  </div>
</template>

<script>
import Facilities from './facilities.vue'
import Instrument from './instrument.vue'
import Software from './software.vue'
export default {
  components: { Facilities, Instrument, Software },
  data() {
    return {
      activeName: 'facilities'
    }
  }
}
</script>

<style lang="less" scoped>
</style>